﻿namespace Front._1120;

public partial class Form1 : Form
{
    private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem_UserManage; // 新增这行，解决报红
    
    public Form1(ToolStripMenuItem toolStripMenuItemUserMgr)
    {
        toolStripMenuItem_UserMgr = toolStripMenuItemUserMgr;
        InitializeComponent();
    }

    public Form1()
    {
        InitializeComponent();
        // 新增初始化逻辑（示例）
        this.Text = "我的功能窗口"; // 设置窗口标题
        this.StartPosition = FormStartPosition.CenterScreen; // 窗口居中
    }
    private void menuStrip2_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
    {
        throw new System.NotImplementedException();
    }

    private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
    {
        throw new System.NotImplementedException();
    }
}